#include "DAEFloat2.h"
#include "math.h"
DAEFloat2::DAEFloat2():x(0),y(0)
{
}

DAEFloat2::DAEFloat2(float xValue, float yValue):x(xValue), y(yValue)
{
}

void DAEFloat2::Normalize()
{
	float length = _hypotf(x,y);
	x /= length;
	y /= length;
}
